<!--底部导航-->
<div class="foot-black"></div>
<div class="weui-tabbar wy-foot-menu">
    <a href="{:url('index/index')}" class="weui-tabbar__item {if condition="$config['controllername'] eq 'index'"}weui-bar__item--on{/if}">
        <div class="weui-tabbar__icon foot-menu-home"></div>
        <p class="weui-tabbar__label">首页</p>
    </a>
    <a href="{:url('category/index')}" class="weui-tabbar__item {if condition="$config['controllername'] eq 'category'"}weui-bar__item--on{/if}">
        <div class="weui-tabbar__icon foot-menu-list"></div>
        <p class="weui-tabbar__label">分类</p>
    </a>
    <a href="{:url('cart/index')}" class="weui-tabbar__item {if condition="$config['controllername'] eq 'cart'"}weui-bar__item--on{/if}">
        <!-- <span class="weui-badge" style="position: absolute;top: -.4em;right: 1em;">8</span> -->
        <div class="weui-tabbar__icon foot-menu-cart"></div>
        <p class="weui-tabbar__label">购物车</p>
    </a>
    <a href="{:url('user/shop_index')}" class="weui-tabbar__item {if condition="$config['controllername'] eq 'user'"}weui-bar__item--on{/if}">
        <div class="weui-tabbar__icon foot-menu-member"></div>
        <p class="weui-tabbar__label">我的</p>
    </a>
</div>
